package com.vxdata.utils.modules.hbase.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
 
/**
 * 获取hBase配置文件的工具类
 *
 * @author: lil
 * @date: 2020/7/28
 */
@Component
@Order(value = 1)
public class GetPropertiesUtil {
 
    private static String quorum;
 
    @Value("${hbase.zookeeper.quorum}")
    public void setProQuorum(String quorumTemp) {
        quorum = quorumTemp;
    }
 
    public static String getQuorum() {
        return quorum;
    }
}